<ol  class="breadcrumbnav">
  {{ template "breadcrumbnav" (dict "p1" . "p2" .) }}
</ol>

{{ define "breadcrumbnav" }}
{{ if .p1.Parent }}
  {{ if not .p1.Parent.IsHome }}
  {{ template "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 )  }}
  {{ end }}
{{ end }}
{{ if eq .p1 .p2 }}
<li class="active">
  <a href="{{ .p1.RelPermalink }}">{{ .p1.LinkTitle }}</a>
</li>
{{ else}}
<li>
  <a href="{{ .p1.RelPermalink }}">{{ .p1.LinkTitle }}&nbsp;/&nbsp;</a>
</li>
{{ end }}

{{ end }}